/**
 * 
 */
package kr.co.insoft.core.mapper.template.application;

import java.util.List;

import kr.co.insoft.core.model.paging.PagingModel;
import kr.co.insoft.core.model.template.application.ApplicationEntityModel;
import kr.co.insoft.core.model.template.application.ApplicationTypeEntityModel;
import kr.co.insoft.framework.mapper.UUIDMapper;
import kr.co.insoft.framework.mybatis.Mapper;

/**
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
@Mapper
public interface ApplicationMapper extends UUIDMapper {

	/**
	 * Application Paging 목록
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public List<ApplicationEntityModel> getPagingList(PagingModel pagingModel)
			throws Exception;

	/**
	 * Application 전체 카운트
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public int getTotalCount(PagingModel pagingModel) throws Exception;
	
	/**
	 * Application Name 중복 체크
	 * @param applicationEntityModel
	 * @return int
	 * @throws Exception
	 */
	public int isExistApplicationName(ApplicationEntityModel applicationEntityModel)
			throws Exception;
	
	/**
	 * Application Type 목록
	 * 
	 * @param
	 * @return 
	 * @throws Exception
	 */
	public List<ApplicationTypeEntityModel> getTypeList()
			throws Exception;

	/**
	 * Application 생성
	 * 
	 * @param applicationEntityModel
	 * @throws Exception
	 */
	public void createApplication(ApplicationEntityModel applicationEntityModel)
			throws Exception;
	
	/**
	 * Application 조회
	 * 
	 * @param applicationEntityModel
	 * @return 
	 * @throws Exception
	 */
	public ApplicationEntityModel getApplication(ApplicationEntityModel applicationEntityModel)
			throws Exception;
	
	/**
	 * Application 삭제
	 * 
	 * @param applicationid
	 * @throws Exception
	 */
	public void doRemoveApplication(String applicationid)
			throws Exception;
}
